<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8">
		<title>会员信息</title>
		[#include "/common/include.ftl"/]
		<link type="text/css" rel="styleSheet" href="${base}/resource/css/member.css">
		<script type="text/javascript" src="${base}/resource/plug/My97DatePicker/WdatePicker.js"></script>
		<script type="text/javascript" src="${base}/resource/js/member.js"></script>
		<script type="text/javascript" src="${base}/resource/plug/citySelect/jquery.cityselect.js"></script>
			<script>
function buy(){
	var account  = $('#account').val();
	var password  = $('#password').val();
	var phone  = $('#phone').val();
	var address  = $('#address').val();
	
	if(account==""){
		oDialog.prompt("账号不能为空");
		return;
	}
	if(password==""){
		oDialog.prompt("密码不能唯恐");
		return;
	}
	
			$.ajax({
				url : base + "/member/card/cardsubmit.jhtml",
				type : "POST",
				dataType : "json",
				data : {
					account :account,
					password : password
				},
				cache : false,
				success : function(data) {
					if (data.error == undefined || data.error == '') {
						oDialog.prompt(data.success);
						
					} else {
						oDialog.prompt(data.error);
						
					}
				}
			});
	
	
}


</script>
	</head>
	<body class="customer">
		[#include "/common/header.ftl"/]
		<div class="crumbs">
			<a href="${base}/member/index.jhtml">会员中心</a>
			<i style='font-family: simsun;font-style: normal;'>></i>
			<a>账户中心</a>
			<i style='font-family: simsun;font-style: normal;'>></i>
			<a>会员信息</a>
		</div>
		<div id="member-main">
			[#assign menuNo='info'/]
			[#include "/common/member-left.ftl"/]
			<div class="member-right">
				<div class="right-wrap">
					<h2 class="right-title">会员信息</h2>
					<div class="mc mc-list member-info-table">
						<div class="form">
							<form id="member-info-form">
								<div class="item">
									<div class="label">
										卡号：
									</div>
									<div class="fl">
										<input type="text" class="text" id="account" value=""/>
									</div>
									<div class="clear"></div>
								</div>
								<div class="item">
									<div class="label">
										密码：
									</div>
									<div class="fl">
										<input type="text" class="text" id="password" value=""/>
									</div>
									<div class="clear"></div>
								</div>
							
								<div class="item">
									<div class="label"></div>
									<div class="fl">
										<button type="button" class="hp-button change-info" onclick="buy()">确定</button>
									</div>
								</div>
							</form>
						</div>
					</div>
				</div>
			</div>
			<div class="clear"></div>
		</div>
		[#include "common/footer-slidebar-lazyload.ftl"]
	</body>
	
	
</html>